package com.swt.gap.model.vo.taskresult;

import com.swt.gap.model.entity.TaskResultWithBLOBs;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author tyh
 * @Date 2020/6/28 16:30
 * @Version 1.0
 */

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class AnalysisResultVO extends TaskResultWithBLOBs {
    private Integer taskId;

    private String taskName;

    private String password;

    @ApiModelProperty(value = "任务状态：1进行中，0已结束")
    private Integer status;
    @ApiModelProperty(value = "是否有读的权限，创建者设置密码则其他用户无读的权限 需加锁")
    private Boolean hasReadPermission;
    @ApiModelProperty(value = "是否有写的权限，只有创建者才可以修改和删除 ")
    private Boolean hasWritePermission;
}
